package com.pdf.pdfserver.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author songfz
 * @Description
 * @Date 2022/3/1
 */
@Component
@ConfigurationProperties(prefix = "open.office")
public class OpenOfficeContext {


    private String host;

    private Integer port;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
